/* vue */
import { defineComponent } from "vue";
/* mixin */
import VersionControlBaseMixin from '@src/mixins/versionControlMixin/base';
/* version message */
import {
  isShowMessagePhoneMessage,
  isShowEmail
} from '@shb-lib/version'

export default defineComponent({
  name: "version-control-message-mixin",
  mixins: [VersionControlBaseMixin],
  computed: {
    /** 
     * @description 消息 模块 版本控制
    */
    messageVersionControl(): Record<string, boolean> {
      return {
        isShowMessagePhoneMessage: isShowMessagePhoneMessage(this._versionControlMap),
      }
    },
    _isShowMessagePhoneMessage(): boolean {
      return this.messageVersionControl.isShowMessagePhoneMessage
    },
  }
})
